package com.briup.oagg.model.web.vm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

/**
 * 算子层组件信息
 *
 * @author briup
 */
@ApiModel(description = "算子层组件信息")
@Data
public class LearnAlgorithmConfigVM {
    @ApiModelProperty(value = "组件名称",example = "高斯RBF核向量机")
    private String name; //对应算子层组件中的layer_name
    @ApiModelProperty(value = "组件类名",example = "sklearn.svm.SVC")
    private String className;   //对应算子层组件中的class_name;
    @ApiModelProperty(value = "组件配置参数",example = "{\"kernel\":\"rbf\",\"gamma\":5,\"C\":0.001,\"probability\":true}")
    private Map<String,Object> config;
}
